<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>forEach</title>
</head>
<body>
	<strong>Move list:</strong>
	<br><br>
	
	<table>
		<c:forEach items="${moveList}" var="movie" varStatus="movieLoopCount">
		<tr>
			<td>Count:${movieLoopCount.count}</td>
		</tr>
		<tr>
			<td>${movie}<br><br></td>
		</tr>
		</c:forEach>
	</table>
	
	<br><br>
	
	<table>
	<c:forEach var="listElement" items="${movies}">
		<c:forEach var="movie" items="listElement">
		<tr>
			<td>${movie}</td>
		</tr>
		</c:forEach>
	</c:forEach>
	</table>
	
</body>
</html>